﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MobileResourceMasterPage.master" AutoEventWireup="true" CodeFile="DeparManagement.aspx.cs" Inherits="Management_DeparManagement" %>

<%@ Register src="../Controls/pie.ascx" tagname="pie" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="MainBody">
<div id="navMenu">
    <ul>
        <li class="onelink"><a href='Management.aspx'>教师管理</a></li>
        <li><a href='StuManagement.aspx'>学生管理</a></li>
        <li><a href='ResourceManagement.aspx'>资源管理</a></li>
        <li><a href='AddInformation.aspx' >添加信息</a></li>
        <li><a href='AnnManagment.aspx' >公告管理</a></li>
        <li><a rel='dropmenu1'>课程管理</a></li>
        <li><a href='../reco_member.aspx'>推荐系统</a></li>
        </ul>
</div>
<script type='text/javascript' src='../Scripts/dropdown.js'></script>
<ul id="dropmenu1" class="dropMenu">
    <li><a href="CourseManagement.aspx" >课程管理</a></li>
    <li><a href="DeparManagement.aspx" >学院管理</a></li>
    <li><a href="Addcourse.aspx" >新增课程</a></li>

    <li class="end" ></li>
</ul>
<script type="text/javascript">    cssdropdown.startchrome("navMenu")</script>
<div class="Left">
<asp:TreeView ID="TreeView1" runat="server">
        <Nodes>
            <asp:TreeNode Text="教师管理" Value="教师管理" NavigateUrl="Management.aspx"></asp:TreeNode>
            <asp:TreeNode Text="学生管理" Value="学生管理" NavigateUrl="StuManagement.aspx"></asp:TreeNode>
            <asp:TreeNode Text="资源管理" Value="资源管理" NavigateUrl="ResourceManagement.aspx"></asp:TreeNode>
            <asp:TreeNode Text="添加信息" Value="添加信息" NavigateUrl="AddInformation.aspx"></asp:TreeNode>
            <asp:TreeNode Text="公告管理" Value="公告管理" NavigateUrl="AnnManagment.aspx"></asp:TreeNode>
            <asp:TreeNode Text="课程管理" Value="课程管理" Expanded="false">
                <asp:TreeNode Text="课程管理" Value="课程管理" NavigateUrl="CourseManagement.aspx"></asp:TreeNode>
                <asp:TreeNode Text="学院管理" Value="学院干礼" NavigateUrl="DeparManagement.aspx"></asp:TreeNode>
                <asp:TreeNode Text="新增课程" Value="新增课程" NavigateUrl="Addcourse.aspx"></asp:TreeNode>
            </asp:TreeNode>
            <asp:TreeNode Text="课程管理" Value="课程管理" NavigateUrl="CourseManagement.aspx"></asp:TreeNode>
            <asp:TreeNode Text="学院管理" Value="学院管理" NavigateUrl="DeparManagement.aspx"></asp:TreeNode>
            <asp:TreeNode Text="新增课程" Value="新增课程" NavigateUrl="Addcourse.aspx"></asp:TreeNode>
            <asp:TreeNode Text="推荐系统" Value="推荐系统" NavigateUrl="../reco_member.aspx"></asp:TreeNode>
        </Nodes>
    </asp:TreeView>
    <iframe src="../activeperson.aspx" scrolling="no" style = "height:150px" width="160px" frameborder="0"></iframe>
    <iframe src="../recent.aspx" scrolling ="no" style="height:180px" width="160" frameborder="0">
</iframe>
<div style ="float:left;margin-left:3px;margin-top:2px">
<asp:HyperLink ID="HyperLinkRecentComment" runat="server">HyperLink</asp:HyperLink>
</div>
<div style ="float:left;margin-left:3px;margin-top:2px">
<asp:HyperLink ID="HyperLinkRecentDownload" runat="server">HyperLink</asp:HyperLink>
</div>
</div>
<div class="Center">
<div style="margin-left:100px;width:200px;height:20px">
    <asp:TextBox ID="TextBox1" runat="server" Width="200px"></asp:TextBox></div>
<div style="margin-left:300px;margin-top:-20px">
    <asp:Button ID="Button1" runat="server" Text="搜索" onclick="Button1_Click" /></div>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"  OnPageIndexChanging="GridView1_PageIndexChanging"
        CellPadding="4" ForeColor="#333333" GridLines="None" OnRowCancelingEdit="GridView1_RowCancelingEdit" OnRowEditing="GridView1_RowEditing"  
        OnRowUpdating="GridView1_RowUpdating" onrowcommand="GridView1_RowCommand" AllowSorting="True" RowStyle-HorizontalAlign="Center">
            <AlternatingRowStyle BackColor="White" />
            <Columns>
            <asp:BoundField DataField="did" HeaderText="学院号" ReadOnly="true" />
            <asp:BoundField DataField="dname" HeaderText="学院名称" />
            <asp:BoundField DataField="introduction" HeaderText="详细介绍" />
                    <asp:CommandField InsertVisible=
"False" ShowEditButton="True"></asp:CommandField>
              <asp:ButtonField ButtonType="Button"
 CommandName="delete" Text="删除" /> 
        </Columns>
            <EditRowStyle BackColor="#2461BF" />
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#EFF3FB" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#F5F7FB" />
            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
            <SortedDescendingCellStyle BackColor="#E9EBEF" />
            <SortedDescendingHeaderStyle BackColor="#4870BE" />
    </asp:GridView>
    </div>
    <div class="Right">
        <uc1:pie ID="pie1" runat="server" />
    </div>
</div>
</asp:Content>

